{{extend '../_layouts/home.html'}}

{{block 'title'}}{{'多人博客 - 首页'}}{{/block}}

{{block 'body'}}
<section class="container">
  {{include '../_partials/settings-nav.html'}}
  <div class="col-md-5">
    <form action="/profile" method="post">
      <div class="form-group">
        <label for="exampleInputEmail1">账号</label>
        <p class="form-control-static">{{user.email}}</p>
      </div>
      <div class="form-group">
        <label for="exampleInputPassword1">昵称</label>
        <input required type="text" class="form-control" name="nickName" placeholder="">
      </div>
      <div class="form-group">
        <label for="exampleInputPassword1">介绍</label>
        <textarea name="introduce" class="form-control" rows="3"></textarea>
      </div>
      <div class="form-group">
        <label for="exampleInputPassword1">性别</label>
        <div>
          <label class="radio-inline">
            <input required type="radio" name="sex" id="inlineRadio1" value="0"> 男
          </label>
          <label class="radio-inline">
            <input required type="radio" name="sex" id="inlineRadio2" value="1"> 女
          </label>
          <label class="radio-inline">
            <input required type="radio" name="sex" id="inlineRadio3" value="-1"> 保密
          </label>
        </div>
      </div>
      <div class="form-group">
        <label for="exampleInputPassword1">生日</label>
        <input name="birthday" required type="date" class="form-control" id="exampleInputPassword1" placeholder="">
      </div>
      <button type="submit" class="btn btn-success">保存</button>
    </form>
  </div>
  <p>请注意，修改完会自动退出登录，需要再次登录</p>
</section>
{{/block}}
{{block "script"}}
<script>

</script>
{{/block}}

